import axios from 'axios'
import{createRouter,createWebHistory}from'vue-router'
let router=createRouter({
  history:createWebHistory(),
  routes:[
    {
      path:'/',
      redirect:'/tadd'
    },
    {
     path:'/login',
     component:()=>import("../views/Login.vue")
    },
    {
      path:'/nadd',
      component:()=>import("../views/NumAdd.vue")
    },
    {
      path:'/nshow',
      component:()=>import("../views/NumShow.vue")
    },
    {
      path:'/nupd',
      component:()=>import("../views/NumUpdate.vue")
    },
    {
      path:'/tadd',
      component:()=>import("../views/TypeAdd.vue")
    },
    {
      path:'/tshow',
      component:()=>import("../views/TypeShow.vue")
    },
    {
      path:'/update',
      component:()=>import("../views/NumUpdate.vue")
    },
  ]
})
export default router